package com.lame.sbconstant.product;

import com.lame.detect.vo.ClassMeta;
import com.lame.sbconstant.product.vo.ProductDesc;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.antlr.v4.runtime.Parser;
import org.antlr.v4.runtime.tree.ParseTree;

@Data
@AllArgsConstructor
public class ProductDirect {
    private ProductActor productStrategy;

    public String product(Parser parser, ParseTree parseTree, ClassMeta classMeta) {
        return productStrategy.product(parser, parseTree, classMeta);
    }
    public ProductDesc productDesc(Parser parser, ParseTree parseTree, ClassMeta classMeta) {
        return productStrategy.productDesc(parser, parseTree, classMeta);
    }
}
